package com.example.demo;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author karidyang
 */
public interface OtherSouce {
    /**
     * 这里是TOPIC，网上的文档写错了
     */
    String TOPIC = "OTHER";

    @Output(TOPIC)
    MessageChannel output();
}
